﻿using PwjCy.Lite.EntityLite;
using PwjCy.Lite.Storage;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PwjCy.Lite.Persistence
{
    /// <summary>
    /// Sql构造器
    /// </summary>
    public interface ISqlBuilder
    {
        /// <summary>
        /// 保存Sql
        /// </summary>
        /// <param name="pwjcyObjectType"></param>
        /// <returns></returns>
        string SaveSql(Type pwjcyObjectType, string tableName, ObjectOperateType objectOperateType);
        /// <summary>
        /// 获取PwjcyObject对象Sql语句
        /// </summary>
        /// <param name="pwjcyObjectType"></param>
        /// <returns></returns>
        string LoadPwjCyObjectSql(Type pwjcyObjectType, string tableName);
    }
}
